package website.haicheng.server.common.constant;

import io.netty.util.AttributeKey;

/**
 * @Author: 582895699@qq.com
 * @Desctription: Channel属性常量
 * @Date: Created in 2021/12/1 16:19
 */
public interface AttrConstant {

    /**
     * channelId
     */
    AttributeKey<String> ATTRIBUTE_KEY_CHANNEL_ID = AttributeKey.newInstance("channel_id");

    /**
     * 上线时间
     */
    AttributeKey<String> ATTRIBUTE_KEY_TIME = AttributeKey.newInstance("time");

    /**
     * 状态{@link cn.hutool.http.HttpStatus}
     */
    AttributeKey<String> ATTRIBUTE_KEY_STATUS = AttributeKey.newInstance("status");

    /**
     * 账号
     */
    AttributeKey<String> ATTRIBUTE_KEY_ACCOUNT = AttributeKey.newInstance("account");
}
